package com.sright.bcard.common.biz.manager;

import com.alibaba.fastjson.JSONObject;
import com.sright.bcard.common.service.share.dto.common.ContentCheckDTO;
import com.sright.bcard.common.service.share.dto.page.PageDTO;
import com.sright.bcard.common.service.share.dto.page.PageParamRequest;
import com.sright.bcard.common.service.share.dto.common.WxappDTO;
import com.sright.common.response.SrightResponse;

import java.util.Map;

public interface WxappManager {

    PageDTO<WxappDTO> wxappList(PageParamRequest pageParamRequest);

    Integer status(WxappDTO wxappDTO);

    Integer deleteStatus(Long id);

    SrightResponse getEnterpriseWxappInfo(Long enterpriseId);

    SrightResponse createQrCode(String path) throws Exception;

    void sendVisitorTemplateMessage(Map<String, String > map) throws Exception;

    JSONObject wechatLogin(String code);

    ContentCheckDTO checkContent(String content);

    void sendDataStatisticsTemplateMessage(Map<String, String> map) throws Exception;

    SrightResponse getInviteCode(Long enterpriseId) throws Exception;

    SrightResponse getPreviewCode(Long userId) throws Exception;
}
